home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d4
/
intrig20.arc
/
LOCALDOR.ARC
/
LOCALDOR.DOC
next >
Wrap
Text File
|
1991-04-06
|
1KB
|
28 lines
LOCALDOR
AN EXECUTIVE HOST UTILITY
By John Wright
Localdor.exe tests the dorinfo1.def file for local logon status.
It then returns an errorlevel that the SysOp may use to make
decisions in his/her door batch files. Errorlevel 1 is returned
if a local logon is detected. If the logon is from remote, an
errorlevel of 0 is returned. You may use this test to modify
your door batch files as shown below. This will allow you to run
doors locally that require external carrier watch, since the carrier
watch programs will only be run for remote callers.
Example batch file for localdor.exe:
localdor.exe <--- This is the important part, as it
if errorlevel == 0 watchdg1 on <--- decides whether to watch carrier.
cd \telix\overkill
ooii 1
cd \telix
local
watchdg1 off <--- No test is necessary here.
Change your batch files as shown below and you are now able to run all of
your doors from local, without having to worry about the system rebooting.
Enjoy Localdor and Executive Host! -- John Wright